﻿using System;
using System.Linq.Expressions;
using Glue.Internals;
using Xunit;

namespace GlueTests
{
    public class SimplifiedNestingNotation
    {
        public class Person { public Address TheAddress { get; set; } }
        public class Address { public String City { get; set; } }
        [Fact]
        public void Just_test_it()
        {

            Expression<Func<Person,object>> exp = x => x.TheAddress.City;
            var lambdaDecomposer = new LambdaDecomposer(exp);
        }
    }
}
